package com.jic.member.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 会员收藏信息表
 * @author : mj
 * @email : 
 * @since : 2020-01-13 04:22:35
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MemberFavorite implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    //登录token
    private String token;
    //实体id,根据type判断是何种实体
    private Long entityId;
    //名称
    private String entityName;
    //类别 1商品,2店铺(商家),3文章
    private Integer entityType;
    //用户id
    private Long memberId;
    //用户名
    private String username;
    //渠道
    private String channelCode;
    //备注
    private String remark;
    //运营方ID
    private Long deptId;
    //商家ID
    private Long merchantId;
    //店铺Id
    private Long storeId;
    //创建日期
    private Date createTime;
    //创建用户ID
    private Long creator;
    //创建用户
    private String creatorName;
    //更新时间 数据库
    private Date updateTime;
    //更新用户ID
    private Long updater;
    //更新用户
    private String updaterName;
    //逻辑删除,0-未删除，1-已删除
    private Long deleteFlag;
    //店铺logo或商品图片 多个用 , 分隔
    private String entityImg;
    @ApiModelProperty(notes = "商品价格 店铺为空")
    private BigDecimal marketPrice;
    @ApiModelProperty(notes = "收藏ids")
    private Long [] collectIds;

    private String memberName;
    
}